package mapkit.layers
{

	public class TileInfo
	{
		public static const ADD:int=1;
		public static const IGNORE:int=0;
		public static const REMOVE:int=-1;

		private var _col:int=0;

		public function get col():int
		{
			return _col;
		}

		private var _row:int=0;

		public function get row():int
		{
			return _row;
		}

		private var _level:int=0;

		public function get level():int
		{
			return _level;
		}

		private var _operator:int=0;

		public function get operator():int
		{
			return _operator;
		}

		public function set operator(value:int):void
		{
			_operator=value;
		}

		public function TileInfo(col_:int, row_:int, level_:int, operator_:int)
		{
			_col=col_;
			_row=row_;
			_level=level_;
			_operator=operator_;
		}

		public function toString():String
		{
			return col + ":" + row + ":" + level;
		}

	}
}